//-----------------------------------------------------------------------
// <copyright file="OfficeBase.cs" company="Pyramid Consulting">
//     Copyright (c) Pyramid Consulting. All rights reserved.
// </copyright>
//-----------------------------------------------------------------------
	
using System;
using System.Data;
using System.ComponentModel;
using System.Collections;

namespace MIMS.WRS.Entities
{
	[Serializable]
	public class OfficeBase
	{
		
		#region Variable Declarations
		private int				officeID = 0;
		private string				officeName = string.Empty;
		private string				officeCode = string.Empty;
		private bool				notifyEmailEnable = false;
		private int				sortOrder = 0;
		#endregion
		
		#region Constructors
		public OfficeBase() {}
		
		public OfficeBase (
			int officeID,
			string officeName,
			string officeCode,
			bool notifyEmailEnable,
			int sortOrder)
		
		{
			this.officeID = officeID;
			this.officeName = officeName;
			this.officeCode = officeCode;
			this.notifyEmailEnable = notifyEmailEnable;
			this.sortOrder = sortOrder;
		}
		#endregion
		
		#region Properties	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is int</value>
		public int OfficeID
		{
			get { return officeID; }
			set { officeID = value; }
		}
		public int originalOfficeID
		{
			get { return originalOfficeID; }
			set { originalOfficeID = value; }
		} 
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is nvarchar</value>
		public string OfficeName
		{
			get { return officeName; }
			set { officeName = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is varchar</value>
		public string OfficeCode
		{
			get { return officeCode; }
			set { officeCode = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is bit</value>
		public bool NotifyEmailEnable
		{
			get { return notifyEmailEnable; }
			set { notifyEmailEnable = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is int</value>
		public int SortOrder
		{
			get { return sortOrder; }
			set { sortOrder = value; }
		}
	
		
		#endregion
	}//End Class
	
	public enum OfficeColumns
	{
		OfficeID,
		OfficeName,
		OfficeCode,
		NotifyEmailEnable,
		SortOrder
	}//End enum
}